<#if (actionErrors?? && actionErrors?size > 0)>
	<fieldset><legend style="color:red;font-weight: bold;text-align:center;text-valign:middle;font-size: 14px;">以下原因导致操作失败：</legend>
</#if>
<#include "/${parameters.templateDir}/simple/actionerror.ftl" />
<#if (actionErrors?? && actionErrors?size > 0)>
	</fieldset>	
	<script>
	    var ErrorMessage="以下原因导致操作失败：\t\t\t\t";
		<#list actionErrors as error>   
			ErrorMessage+="\n${error_index+1}.${(error.replaceAll("<br>",""))?js_string}";
		</#list>
		//alert(ErrorMessage);
		top.MyWindow.error({content:ErrorMessage});
	</script>
</#if>